import axios from 'axios'
const newAxios = axios.create({
  baseURL: 'http://127.0.0.1:5000/api/',
  timeout: 5000
})
newAxios.interceptors.request.use(config => {
  config.headers.Authorization = window.sessionStorage.getItem('token')
})
export default newAxios
